.class public Lcom/waiqin365/lightapp/view/CreditLabelViewV;
.super Lcom/waiqin365/lightapp/view/BaseLabelView;


# instance fields
.field private a:Landroid/view/View;

.field private b:Landroid/widget/LinearLayout;

.field private g:Landroid/widget/TextView;

.field private h:Lcom/waiqin365/lightapp/kehu/b/ab;

.field private i:Landroid/content/Context;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 1

    const/4 v0, 0x0

    invoke-direct {p0, p1, v0}, Lcom/waiqin365/lightapp/view/BaseLabelView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/CreditLabelViewV;->i:Landroid/content/Context;

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 0

    invoke-direct {p0, p1, p2}, Lcom/waiqin365/lightapp/view/BaseLabelView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/CreditLabelViewV;->i:Landroid/content/Context;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/view/CreditLabelViewV;)Lcom/waiqin365/lightapp/kehu/b/ab;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CreditLabelViewV;->h:Lcom/waiqin365/lightapp/kehu/b/ab;

    return-object v0
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/view/CreditLabelViewV;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CreditLabelViewV;->i:Landroid/content/Context;

    return-object v0
.end method


# virtual methods
.method public e()Landroid/view/View;
    .locals 3

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/CreditLabelViewV;->getContext()Landroid/content/Context;

    move-result-object v0

    const v1, 0x7f030094

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/CreditLabelViewV;->a:Landroid/view/View;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CreditLabelViewV;->a:Landroid/view/View;

    const v1, 0x7f0c0275

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/CreditLabelViewV;->b:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CreditLabelViewV;->a:Landroid/view/View;

    const v1, 0x7f0c0277

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/CreditLabelViewV;->g:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CreditLabelViewV;->b:Landroid/widget/LinearLayout;

    new-instance v1, Lcom/waiqin365/lightapp/view/cv;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/view/cv;-><init>(Lcom/waiqin365/lightapp/view/CreditLabelViewV;)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CreditLabelViewV;->a:Landroid/view/View;

    return-object v0
.end method

.method public setBottomShort()V
    .locals 3

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CreditLabelViewV;->a:Landroid/view/View;

    const v1, 0x7f0c005a

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/CreditLabelViewV;->a:Landroid/view/View;

    const v2, 0x7f0c0357

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    const/16 v2, 0x8

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    const/4 v0, 0x0

    invoke-virtual {v1, v0}, Landroid/view/View;->setVisibility(I)V

    return-void
.end method

.method public setCreditInfo(Lcom/waiqin365/lightapp/kehu/b/ab;)V
    .locals 2

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/CreditLabelViewV;->h:Lcom/waiqin365/lightapp/kehu/b/ab;

    if-eqz p1, :cond_0

    iget-object v0, p1, Lcom/waiqin365/lightapp/kehu/b/ab;->a:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CreditLabelViewV;->b:Landroid/widget/LinearLayout;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CreditLabelViewV;->g:Landroid/widget/TextView;

    iget-object v1, p1, Lcom/waiqin365/lightapp/kehu/b/ab;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CreditLabelViewV;->b:Landroid/widget/LinearLayout;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto :goto_0
.end method
